package com.example.demo.services;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.example.demo.entity.LoginR;
import com.example.demo.repository.LoginRepository;

@Service
public class LoginServices {

	@Resource
	private LoginRepository loginRepository;
	
	public List<LoginR> findAll() {
		return loginRepository.findAll();
	}
}
